package com.xy_pro.xymanager.repository;

import com.xy_pro.xymanager.entity.ScoreData;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

public interface ScoreDataRepository extends JpaRepository<ScoreData, Long> {
    Optional<ScoreData> findScoreDataByNameAndTitle(String name, String title);
//    Optional<ScoreData> findScoreDataByNameAndTitleAndVisible(String studentName, String title, boolean visible);
}
